package com.vision.core.cl.ui;

import com.sencha.gxt.widget.core.client.box.MessageBox;
import com.sencha.gxt.widget.core.client.event.HideEvent;

/**
 * Handler interface used in {@link MessageBox}es. Provides methods to handle
 * closing of the {@link MessageBox} depending on which button was clicked.
 * 
 * @see UI#confirm(String, String, IConfirmDialogHandler)
 * 
 * @author Mark
 *
 */
public interface IConfirmDialogHandler {

	void onYes(HideEvent event);
	
	void onNo(HideEvent event);
	
	void onCancel(HideEvent event);
	
}
